package cn.chinaunicom.sdsi.upfc_demp.dzgh.dao.mybatis;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.chinaunicom.sdsi.upfc_demp.dzgh.entity.DzghApplyEntity;

public interface DzghApplyMapper {
    public int addDzgh(DzghApplyEntity dzghApplyEntity);
    public int addDzghNum(List<Map<String,String>> m);
    public int addDzghStaff(List<Map<String,String>> m);
    public DzghApplyEntity selectByPrimaryKey(DzghApplyEntity dzghApplyEntity);
    public int selectCountByPrimaryKey(DzghApplyEntity dzghApplyEntity);
    public int delDzghNum(@Param("elec_id")String elec_id);
    public int updateProcess(Map<String,String> m);
    public DzghApplyEntity queryByPrimaryKey(DzghApplyEntity entity);
    public int updateDzgh(DzghApplyEntity dzghApplyEntity);
    public int delDzghStaff(@Param("elec_id")String elec_id);
    public List getIdByElecId(@Param("elec_id")String elec_id);
    public List getDoStaffByElecId(@Param("elec_id")String elec_id);
    public String getNameById(@Param("staff_id")String id);
    public String getNameByApplyId(@Param("staff_id")String applyId);
    public int addProcessByStep(Map<String,String> m);
}
